using System;
using System.Collections.Generic;
using System.Text;

namespace Msrp
{
    public interface IMessageProcessor
    {
        /**
         * Called by stack upon message arrival
         * 
         * @param f_message, the message arrived
         * @param f_session, the session associated with the message
         */
        void ProcessMessage(Message f_msg, Session f_session);
        void HandleError(String f_errorString, Session f_session);
        void LogError(String f_errorString);
        void LogDebug(String f_debugString);
        void LogInfo(String f_infoString);
    }
}
